Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Handling Viewer Events


Q3ViewerAdjustCursor

You can use the Q3ViewerAdjustCursor function to allow the 3D Viewer to adjust the cursor when it is inside a viewer object.

Boolean Q3ViewerAdjustCursor (
TQ3ViewerObject theViewer, 
Point *pt);
theViewer
A viewer object.
pt
The location of the cursor, in the local coordinates of the window that contains the specified viewer object.
DESCRIPTION
The Q3ViewerAdjustCursor function adjusts the cursor to whatever shape is appropriate when the cursor is located at the point specified by the pt parameter inside the viewer object specified by the theViewer parameter. You should call Q3ViewerAdjustCursor in response to a mouse-moved event. Q3ViewerAdjustCursor returns a Boolean value that indicates whether the shape of the cursor was changed (True) or not (False).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996